build:
	go build -ldflags="-s -w" bctl.go
	$(if $(shell command -v upx), upx bctl)
mac:
	GOOS=darwin go build -ldflags="-s -w" -o bctl-darwin bctl.go
	$(if $(shell command -v upx), upx bctl-darwin)
win:
	GOOS=windows go build -ldflags="-s -w" -o bctl.exe bctl.go
	$(if $(shell command -v upx), upx bctl.exe)
linux:
	GOOS=linux go build -ldflags="-s -w" -o bctl-linux bctl.go
	$(if $(shell command -v upx), upx bctl-linux)